Although scientists knew that atoms of a particular element have the same number of protons, they discovered that some of these atoms have slightly different masses. They concluded that the variations in mass are due, more or less, to the number of neutrons in the nucleus of the atom. Atoms of an element having the same atomic number but different atomic masses are called isotopes of that element.